home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / lcd_31a.zip / LCD.DOC < prev    next >
Text File  |  1991-05-05  |  35KB  |  783 lines

  1.  
  2.  
  3.  
  4.  
  5.                          Led's Change Directory v3.1
  6.  
  7.                             Released May 5, 1991
  8.  
  9.                 A PC-DOS / MS-DOS Intelligent Directory Changer
  10.  
  11.  
  12.                               _______
  13.                          ____|__     |               (tm)
  14.                       --|       |    |-------------------
  15.                         |   ____|__  |  Association of
  16.                         |  |       |_|  Shareware
  17.                         |__|   o   |    Professionals
  18.                       -----|   |   |---------------------
  19.                            |___|___|    MEMBER
  20.  
  21.  
  22.                      Written by Keith Ledbetter
  23.                                 4240 Ketcham Drive
  24.                                 Chesterfield, VA  23832
  25.                                 (804) 674-0780
  26.                                 (6:00pm - 10:00pm Eastern Time)
  27.  
  28.  
  29.                     Tech Support BBS:   Blue Ridge Express
  30.                                         804-790-1675
  31.                                         30 Phone Lines (2400 bd)
  32.                                         Sub-board KEITHL
  33.                                         ("J KEITHL")
  34.  
  35.                     Electronic mail on GEnie     : ORION.MICRO
  36.                                        CompuServe: 72240,1221
  37.  
  38.  
  39.  
  40.      Program and Documentation are Copyright (c) 1991 by Keith Ledbetter.
  41.                              All rights reserved.
  42.  
  43.  
  44.  Portions Copyright Borland, International.  LCD was written with Borland C++.
  45.  
  46.  
  47.     This program is produced by a member of the Association of Shareware
  48. Professionals (ASP).  ASP wants to make sure that the shareware principle
  49. works for you. If you are unable to resolve a shareware-related problem with
  50. an ASP member by contacting the member directly, ASP may be able to help. The
  51. ASP Ombudsman can help you resolve a dispute or problem with an ASP member,
  52. but does not provide technical support for members' products. Please write to
  53. the ASP Ombudsman at P.O. Box 5786, Bellevue, WA 98006 or send a Compuserve
  54. message via easyplex to ASP Ombudsman 70007,3536.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.    LCD Registration Form         Keith Ledbetter
  64.                                  4240 Ketcham Drive
  65.                                  Chesterfield, VA  23832
  66.  
  67.  
  68.    LCD Version 3.1x                            Quantity    Price
  69.  
  70.    Disk with branding utility ($15/copy):      _______   __________
  71.  
  72.         Total enclosed                                   __________
  73.  
  74.    Please make payment by check or money order (in US funds) payable
  75.    to "Keith Ledbetter".
  76.  
  77.    Please specify the diskette size(s) that are acceptable for you:
  78.  
  79.    ___ 5.25" 1.2MB   ___ 3.5" 1.44MB   ___ 5.25" 360KB   ___ 3.50" 720KB
  80.  
  81.  
  82.    Name    ________________________________________________________
  83.  
  84.    Company ________________________________________________________
  85.  
  86.    Address ________________________________________________________
  87.  
  88.            ________________________________________________________
  89.  
  90.    Phone   ________________________________________________________
  91.  
  92.  
  93.    Where did you get LCD?  _________________________________________
  94.  
  95.    Multi-System and Reseller Licenses:
  96.  
  97.         Site, corporate, network, and reseller licenses are available
  98.         for LCD.  Check the line on the order form or contact me for
  99.         more information.  The following schedule provides some
  100.         examples of multi-system license fees.  The fee includes one
  101.         master diskette which you may then copy and use on the number
  102.         of machines listed below:
  103.  
  104.                         # Users        Price
  105.                         -------       -------
  106.                            5        $   70.00   ($14 / copy)
  107.                           10           130.00   ($13 / copy)
  108.                           25           300.00   ($12 / copy)
  109.                           50           550.00   ($11 / copy)
  110.                          100         1,000.00   ($10 / copy)
  111.                        Unlimited     1,500.00
  112.  
  113.                           Led's Change Directory                    Page 1
  114.  
  115.  
  116. Definition of ShareWare
  117.  
  118.  
  119.  
  120.     Shareware distribution gives users a chance to try software before
  121.     buying it.  If you try a Shareware program and continue using it,
  122.     you are expected to register. Individual programs differ on details
  123.     -- some request registration while others require it, some specify
  124.     a maximum trial period. With registration, you get anything from the
  125.     simple right to continue using the software to an updated program with
  126.     printed manual.
  127.  
  128.     Copyright laws apply to both Shareware and commercial software,
  129.     and the copyright holder retains all rights, with a few specific
  130.     exceptions as stated below. Shareware authors are accomplished
  131.     programmers, just like commercial authors, and the programs are
  132.     of comparable quality. (In both cases, there are good programs
  133.     and bad ones!) The main difference is in the method of
  134.     distribution. The author specifically grants the right to copy
  135.     and distribute the software, either to all and sundry or to a
  136.     specific group. For example, some authors require written
  137.     permission before a commercial disk vendor may copy their
  138.     Shareware.
  139.  
  140.     Shareware is a distribution method, not a type of software. You
  141.     should find software that suits your needs and pocketbook,
  142.     whether it's commercial or Shareware. The Shareware system makes
  143.     fitting your needs easier, because you can try before you buy.
  144.     And because the overhead is low, prices are low also. Shareware
  145.     has the ultimate money-back guarantee -- if you don't use the
  146.     product, you don't pay for it.
  147.  
  148.                           Led's Change Directory                    Page 2
  149.  
  150.  
  151. Disclaimer - Agreement
  152.  
  153.  
  154.  
  155.     Users of LCD must accept this disclaimer of warranty:
  156.     "LCD is supplied as is.  The author disclaims all
  157.     warranties, expressed or implied, including, without limitation,
  158.     the warranties of merchantability and of fitness for any purpose.
  159.     The author assumes no liability for damages, direct or conse-
  160.     quential, which may result from the use of LCD."
  161.  
  162.     LCD is a "shareware program" and is provided at no charge
  163.     to the user for evaluation.  Feel free to share it with your
  164.     friends, but please do not give it away altered or as part of
  165.     another system.  The essence of "user-supported" software is to
  166.     provide personal computer users with quality software without
  167.     high prices, and yet to provide incentive for programmers to
  168.     continue to develop new products.  If you find this program
  169.     useful and find that you are using LCD and continue to use
  170.     LCD after a reasonable trial period, you must make a reg-
  171.     istration payment of $15 to Keith Ledbetter.  The $15
  172.     registration fee will license one copy for use on any one
  173.     computer at any one time.  You must treat this software just like
  174.     a book.  An example is that this software may be used by any
  175.     number of people and may be freely moved from one computer
  176.     location to another, so long as there is no possibility of it
  177.     being used at one location while it's being used at another.
  178.     Just as a book cannot be read by two different persons at the
  179.     same time.
  180.  
  181.     Commercial users of LCD must register and pay for their
  182.     copies of LCD within 30 days of first use or their license
  183.     is withdrawn.  Site-License arrangements may be made by con-
  184.     tacting Keith Ledbetter.
  185.  
  186.     You are encouraged to pass a copy of LCD along to your
  187.     friends for evaluation.  Please encourage them to register their
  188.     copy if they find that they can use it.  All registered users
  189.     will receive a copy of the latest version of the LCD system.
  190.  
  191.                           Led's Change Directory                    Page 3
  192.  
  193.  
  194. About the Program
  195.  
  196.  
  197.  
  198.  
  199.    LCD is a program designed to make changing directories much easier,
  200. especially when you have a large hard drive with lots of different
  201. partitions.
  202.  
  203.    LCD is a work-alike to Peter Norton's NCD command, but with one significant
  204. difference.   LCD works "across all drives" by maintaining the directory
  205. database of ALL drives on drive C:, instead of one database on each individual
  206. drive like NCD does.   This means that you don't have to specify a drive letter
  207. when changing to a directory on a different drive.
  208.  
  209.  
  210.  
  211. About the Syntax:
  212.  
  213.   LCD partial_directory_name : change to a directory
  214.   LCD md directory_name      : create directory; update database now
  215.   LCD rd directory_name      : delete directory; update database now
  216.   LCD /scan  [drivelist]     : scan drives and build directory database
  217.   LCD /qscan [drivelist]     : scan drives (ignore dirs with extensions)
  218.  
  219.  
  220.  
  221. Changing directories:
  222.  
  223.    LCD is used to quickly switch between directories across any of your
  224.    hard drives.  You simply invoke LCD and give it the full or partial name
  225.    of the directory you wish to change to.  For example, if you have a
  226.    directory named C:\PROCOMM\DOWNLOADS, you could switch to this directory
  227.    with the command:
  228.  
  229.                      C:> LCD down
  230.  
  231.    LCD will first try to do an immediate change to the directory name that
  232.    you specify.  If that change works, LCD simply exits immediately. If it
  233.    fails, then LCD looks into your directory database and tries to figure
  234.    out the directory name that you wanted by doing fuzzy comparisons.  If
  235.    more than one directory existed with the same partial name that you
  236.    gave to LCD, it will display a scrollable dialog box on the screen
  237.    containing all of the matches found.   Simply use the arrow keys to
  238.    highlight the path that you want to change to, then hit <Enter>.
  239.  
  240.  
  241.  
  242. Scanning directories:
  243.  
  244.    The first time you execute LCD, you must specify the /SCAN parameter
  245.    ("LCD /scan") which instructs LCD to scan all of your hard drives and
  246.    build a file called LCD.IDX in the root directory of drive C.  You will
  247.    need to periodically rescan all of your drives to add to the table any
  248.    new directories that you have created.
  249.  
  250.                           Led's Change Directory                    Page 4
  251.  
  252.  
  253. About the Program
  254.  
  255.  
  256.  
  257.    If you only want LCD to know about certain specific drives (ie: only
  258.    non-network drives), you can specify a drive list after the /SCAN
  259.    keyword.  To have LCD only scan drives C, E, F, and G, you'd do this:
  260.  
  261.                      C:> LCD /SCAN CEFG
  262.  
  263.    If you are sure that you don't have subdirectories which have an extension
  264.    in their name (for example, C:\PROGRAMS.OLD\) then you can specify /QSCAN
  265.    instead of /SCAN.  This causes LCD to scan almost 50% quicker than normal.
  266.  
  267.  
  268.  
  269. Direct database updating:
  270.  
  271.    You can also use LCD to create and remove directories with immediate
  272.    database updating.   This means that you don't have to continually
  273.    scan your drives to update the directory database.  LCD will create or
  274.    delete the directory specified, and then update the LCD.IDX database at
  275.    the same time.   For example, to create a directory on drive F: and put
  276.    that directory in the database, you'd do:
  277.  
  278.                      C:> LCD md f:\test
  279.  
  280.    This ability comes in especially handy for users of command shells that
  281.    allow aliasing, such as CED and 4DOS.  With these utilities, you can
  282.    change the standard MD and RD commands to invoke LCD instead.  With 4DOS,
  283.    you'd set up the aliases like this:
  284.  
  285.                      C:> alias md `lcd md %1`
  286.                      C:> alias rd `lcd rd %1`
  287.                      C:> alias cd `lcd %1`
  288.  
  289.  
  290.  
  291. The LCD environment variable:
  292.  
  293.    If you'd rather have LCD keep its LCD.IDX database somewhere other than
  294.    the root directory of drive C:, you can specify the filename you want
  295.    used in the LCD environment variable.  For example, if you'd like to
  296.    keep the LCD.IDX file on drive D: in your UTILS directory, you would
  297.    put "SET LCD=D:\UTILS\LCD.IDX" in your AUTOEXEC.BAT file.
  298.  
  299.                           Led's Change Directory                    Page 5
  300.  
  301.  
  302.                        Keith Ledbetter's Software Catalog                     
  303.  
  304.  
  305.  
  306. Keith Ledbetter's Software Catalog
  307. ----------------------------------
  308.  
  309.     Listed below is a chart of my other shareware and freeware utilities,
  310. along with the current version number of each.  Also listed is the
  311. filename that you will find them under on BBS systems (please note that
  312. they may be different on your favorite BBS's, but it should help you at
  313. least get close to locating them).   When you register one of my Shareware
  314. programs, you will receive a disk with all of these utilities on it.
  315.  
  316.  
  317.    Filename      Version            Description
  318.   -----------    -------     -------------------------------
  319.   SST_52a.ZIP      5.2a      The ultimate file-finder program.  Until
  320.                              recently this was simply called "WhereIs".
  321.                              It's now been renamed to "Supersonic Search
  322.                              Tool" to avoid confusion with other programs.
  323.                              Shareware: $15
  324.  
  325.   LCD_30a.ZIP      2.1a      "Led's Change Directory" is an intelligent
  326.                              directory changing program.  This program was
  327.                              voted one of "the 10 best utilities of 1990"
  328.                              by the "Public (software) Library" magazine.
  329.                              Shareware: $15
  330.  
  331.   AV_12.ZIP        1.2       "Archive Viewer" is used to display the names
  332.                              of members of all of the popular archiving
  333.                              programs (ZIP, ARC, LHARC, PKARC, ZOO, PAK).
  334.                              No longer do you have to struggle remembering
  335.                              the syntax to 6 different archiving programs.
  336.                              Freeware: $0
  337.  
  338.   X_30.ZIP         3.0       "X: The Executioner" can save you a lot of
  339.                              disk space.  X allows you to ZIP down those
  340.                              seldom-used-but-hard-to-delete .COM, .EXE,
  341.                              and .BAT files into one system "Command
  342.                              Library".  You can then execute them easily
  343.                              by simply typing an "x" in front of the
  344.                              command line (eg: "x chkdsk c:").
  345.                              Freeware: $0
  346.  
  347.   ADMENU30.ZIP     3.0       If you own an Adlib Music card, you need this
  348.                              program.  It allows you to ZIP down all of
  349.                              those .ROL song files you've accumulated, yet
  350.                              still play them with no extra effort!  Uses
  351.                              a mouse-able, easy-on-the-eyes window system.
  352.                              Freeware: $0
  353.  
  354.   DELDIR12.ZIP     1.2       "Delete Directory" allows you to delete an
  355.                              entire directory (and all directories under
  356.                              it) with one quick command.  You will be
  357.  
  358.                           Led's Change Directory                    Page 6
  359.  
  360.  
  361.                        Keith Ledbetter's Software Catalog                     
  362.  
  363.  
  364.                              shown totals of what you are about to delete
  365.                              and then be asked to confirm (the confirm
  366.                              process can be over-ridden from the command
  367.                              line).
  368.                              Freeware: $0
  369.  
  370.   DIRSIZ11.ZIP     1.1       "Directory Size Information" allows you to
  371.                              easily determine the total size (in both
  372.                              files and bytes) of any directory.
  373.                              Freeware: $0
  374.  
  375.   DUPICO10.ZIP     1.0       "Duplicate Icon Deleter" is for any Windows
  376.                              3.0 user who has accumulated tons of icons.
  377.                              It will go through a directory and delete all
  378.                              duplicate icon images, regardless of what they
  379.                              are named.
  380.                              Freeware: $0
  381.  
  382.   TIMER10.ZIP      1.0       This program allows you to easily time the
  383.                              execution of any program.  Simply use TIMER
  384.                              to invoke the command (eg: "timer chkdsk C:")
  385.                              and you will be shown, at the completion of
  386.                              the command, the elapsed time.
  387.                              Freeware: $0
  388.  
  389.   UNTAB10.ZIP      1.0       One of the fastest "un-tab" programs you will
  390.                              find.  It takes the specified input file and
  391.                              copies it to the specified output file,
  392.                              replacing all tab characters with hard blanks
  393.                              (you specify the "tab size").
  394.                              Freeware: $0
  395.  
  396.  
  397.   You can download all of these files from the Blue Ridge Express in
  398. Richmond, VA.   This is the official tech support board for all of my
  399. software, and there's a special "Keith Ledbetter" message section where
  400. you can quickly get your questions answered.   Once you log on, just do
  401. a "J KEITHL" to join my sub-board.  First-time callers have access to
  402. both my message base and all of my download files.
  403.  
  404.   The Blue Ridge Express is a first-class BBS, with 30 phone lines; no
  405. need to worry about getting a busy signal!  The number is:
  406.  
  407.  
  408.                         The Blue Ridge Express BBS
  409.                                804-790-1675
  410.  
  411.  
  412.                           Led's Change Directory                    Page 7
  413.  
  414.  
  415.                        Keith Ledbetter's Software Catalog                     
  416.  
  417.  
  418.   All of my software can also be obtained from the following places:
  419.  
  420.  
  421.       Alternative Personal Software
  422.       269 Springside Drive  Suite C
  423.       Hamilton, Ontario
  424.       Canada  L9B 1P8
  425.       Tel: (416) 577-4068
  426.  
  427.       PC Assist Limited
  428.       4 Carruber's Close
  429.       135 High Street
  430.       Edinburgh,  EH1 1SJ
  431.       Scotland
  432.       Tel: 031-557-6432
  433.  
  434.       BroCo Software
  435.       P. O. Box 446
  436.       3760 AK  SOEST
  437.       Holland
  438.       Tel: 31-2155-26650
  439.  
  440.       EURO BOARD
  441.       John Warren
  442.       Postfach
  443.       3920 ZERMATT, VS
  444.       Switzerland
  445.       BBS:  (0228) / 476-111-06 (Swiss Telepac)
  446.  
  447.                           Led's Change Directory                    Page 8
  448.  
  449.  
  450. Revision History
  451.  
  452.  
  453.  
  454.  v3.1a  5/05/91   o Sorry for the back-to-back releases, but 43 and 50
  455.                     line modes on EGA/VGA monitors was something that
  456.                     I'd promised for release in v3.0a.  Unfortunately,
  457.                     it completely slipped my mind.  Of course, only a
  458.                     few hours after 3.0's release, quite a few people
  459.                     reminded me of my intentions.  This version will
  460.                     actually support any number of lines as long as
  461.                     the BIOS reports it correctly.
  462.  
  463.  v3.0a  5/03/91   o From an operational point of view, it will look to
  464.                     you like LCD has changed very little.  In fact, the
  465.                     entire program has been totally rewritten from the
  466.                     ground up.  This was facilitated by one problem --
  467.                     people with large drives (normally on Networks)
  468.                     couldn't scan all of their drives because earlier
  469.                     versions of LCD would allow only a 22K database size.
  470.                     In normal use, this would usually average out to around
  471.                     a maximum of 1,100 directory entries that could be
  472.                     stored in the database.   I say "usually" because the
  473.                     way the old (v2.x) LCD stored its database was
  474.                     variable-length.
  475.  
  476.                     Version 3.x of LCD now uses a totally different,
  477.                     fixed-entry-size file format that can store up to
  478.                     4,000 directory entries in the database.
  479.  
  480.                   o Because of the new database format, you must re-scan
  481.                     after installing v3.0a.
  482.  
  483.                   o Since LCD is being used by many people as a total
  484.                     replacement for DOS's CD, RD, and MD commands (through
  485.                     aliasing), I changed the program to simply return the
  486.                     current path name if you invoke LCD with no command
  487.                     line parameters (just like DOS's CD command does).
  488.                     If you want to see the help screen, you must explicitly
  489.                     do an "LCD /?" (or "LCD /HELP") command.
  490.  
  491.                   o Because of the new database format, LCD can no longer
  492.                     store a child directory in the database if its parent
  493.                     isn't there.  In other words, if you do this (with no
  494.                     'aliases' on MD):
  495.  
  496.                            MD C:\Junk
  497.                            LCD md C:\Junk\Junk2
  498.  
  499.                     LCD will create the directory "Junk2", but it will tell
  500.                     you that it couldn't store the name in the database
  501.                     because its parent wasn't found.
  502.  
  503.                   o If you have more than 4,000 directories, LCD will
  504.                     still  abort as always, but it WILL save the directory
  505.  
  506.                           Led's Change Directory                    Page 9
  507.  
  508.  
  509. Revision History
  510.  
  511.  
  512.                     database up to that point (ie: your first 4000 dirs).
  513.  
  514.                   o The LCD environment variable now specifies the entire
  515.                     filename of where you want the index to be.  If you
  516.                     don't have an LCD environment variable, the default is
  517.                     "C:\LCD.IDX" as always.  But, if you want to move it,
  518.                     you can do:
  519.  
  520.                           SET LCD=D:\Utils\SubDirs.Idx   (or whatever)
  521.  
  522.                   o I have "reversed" the /SCAN logic so that there are now
  523.                     two switches:
  524.  
  525.                            /SCAN   -  does a normal scan, INCLUDING
  526.                                       directories with extensions
  527.                            /QSCAN  -  does a v2.x-type scan, which ignores
  528.                                       directories with extensions
  529.  
  530.                     I made this change because about 95% of my tech support
  531.                     calls on LCD are this:  "it's not finding my directories
  532.                     with extensions on them!" (about 95% of my SST calls are
  533.                     for the same reason).
  534.  
  535.                   o You can now change the colors of the pop-up display box.
  536.                     You do this by setting an environment variable named
  537.                     "LCD_COLORS".  Its format:
  538.  
  539.                         Set LCD_Colors = background
  540.                                          foreground
  541.                                          highlight
  542.                                          Selection_Bar_Background
  543.                                          Selection_Bar_Foreground
  544.                                          Thumbtack_color
  545.  
  546.                     (all on one line, of course).  The colors are specified
  547.                     by number, where the colors are:
  548.  
  549.                            0  BLACK             8  DARKGRAY
  550.                            1  BLUE              9  LIGHTBLUE
  551.                            2  GREEN            10  LIGHTGREEN
  552.                            3  CYAN             11  LIGHTCYAN
  553.                            4  RED              12  LIGHTRED
  554.                            5  MAGENTA          13  LIGHTMAGENTA
  555.                            6  BROWN            14  YELLOW
  556.                            7  LIGHTGRAY        15  WHITE
  557.  
  558.                     As an example:
  559.  
  560.                            Set LCD_Colors = 7 0 14 1 15 3
  561.  
  562.                     would give you a LIGHTGRAY box, with BLACK text, YELLOW
  563.                     highlighting, BLUE selection bar with WHITE text, and a
  564.  
  565.                           Led's Change Directory                    Page 10
  566.  
  567.  
  568. Revision History
  569.  
  570.  
  571.                     CYAN thumbtack (on the scroll bar).
  572.  
  573.                   o If you use LCD on a monochrome system, just do this:
  574.  
  575.                            Set LCD_Colors = Mono
  576.  
  577.                     and LCD will select a predefined monochrome color set.
  578.  
  579.                   o You can now abort the /SCAN process with the ESCape key.
  580.  
  581.                   o Two new "errorlevel" conditions:
  582.  
  583.                        8  :   there wasn't enough memory to allocate for
  584.                               the directory database.
  585.                        9  :   either the "LCD" or "LCD_COLORS" environment
  586.                               variable is incorrectly formatted.
  587.  
  588.  
  589.  v2.1   3/07/91   o LCD now returns more detailed ERRORLEVEL conditions,
  590.                     which had been asked for by quite a few users who
  591.                     invoke LCD from batch files.  The errorlevels are as
  592.                     follows:
  593.  
  594.                        0  :   LCD was successful
  595.                        1  :   LCD was successful; ignoring floppy drive
  596.                        2  :   unable to change to the drive or directory
  597.                        3  :   drive scan failed
  598.                        4  :   database error (can't read/write/create)
  599.                        5  :   can't create/remove specified directory
  600.                        6  :   no command line parameters were specified
  601.                        7  :   user aborted LCD with the ESC key
  602.  
  603.                     There is a batch file included (LCDTEST.BAT) that
  604.                     shows how you can use these values in your batch files.
  605.  
  606.  v2.0  12/01/90   o Simply an oversight: v1.4 would update the directory
  607.                     database if you used LCD to create a directory on
  608.                     drive A: or B:.  LCD no longer updates the directory
  609.                     database if you use it to make or remove a directory
  610.                     on these drives (this was probably only apparent to
  611.                     those of us who "alias" MD and RD to use LCD.EXE).
  612.  
  613.  v1.5 - v1.9      o These version numbers were skipped.
  614.  
  615.  v1.4  11/24/90   o LCD can now be used as a TOTAL replacement for DOS's
  616.                     "cd", "rd", and "md" commands.  LCD will now try to
  617.                     immediately change to the directory name that you
  618.                     specify; if that fails, only then will it go to the
  619.                     directory database to search for fuzzy matches.  In
  620.                     other words, if you have the following two directories
  621.                     somewhere:
  622.  
  623.  
  624.                           Led's Change Directory                    Page 11
  625.  
  626.  
  627. Revision History
  628.  
  629.  
  630.                                     C:\TELIX\DOWNLOAD
  631.                                     C:\PROCOMM\DOWNLOAD
  632.  
  633.                     and you are currently in the C:\PROCOMM directory, then
  634.                     "LCD download" will change you to the \PROCOMM\DOWNLOAD
  635.                     directory without invoking the dialog box.
  636.  
  637.                   o LCD can now create and delete directories itself, with
  638.                     immediate updating of the directory database at the
  639.                     same time.  The syntax is:
  640.  
  641.                                  LCD md directory_name
  642.                                  LCD rd directory_name
  643.  
  644.                     These commands are most useful when used with an
  645.                     aliasing shell like CED or 4DOS.  Since I use 4DOS,
  646.                     I have aliases set up as follows:
  647.  
  648.                                  alias cd `lcd %1`
  649.                                  alias md `lcd md %1`
  650.                                  alias rd `lcd rd %1`
  651.  
  652.                   o You can now set an environment variable named LCD to
  653.                     the drive that you'd like your LCD.IDX file stored on
  654.                     (for example, SET LCD=D tells LCD to maintain your
  655.                     database in the file D:\LCD.IDX).  If there is no LCD
  656.                     environment variable, the file will be kept on drive
  657.                     C: just like before.
  658.  
  659.                   o When in the scrollable dialog box, you now have use of
  660.                     the full movement keys (PgUp, PgDn, Home, End, arrow
  661.                     keys).  You can also press C through Z to immediately
  662.                     go to that drive's directories.  This is most useful
  663.                     when doing "LCD *" to see all names in the database.
  664.  
  665.  v1.3  10/15/90   o Fixed a bug where LCD would get confused if you had a
  666.                     one-letter directory name, and that letter also occurred
  667.                     in its parent directory (ie: "c:\aRc\R").
  668.  
  669.                   o Of course, the above change can be a problem if (a) you
  670.                     have a one-character directory name, as in R, and you
  671.                     also have a lot of other directories that begin with R.
  672.                     So, I have changed LCD so that it understands an asterisk
  673.                     ('*') as a wildcard character.  Some examples are the
  674.                     easiest way to explain:
  675.  
  676.                         LCD r*      :   find all paths that BEGIN with the
  677.                                         letter 'r'.
  678.                         LCD *on     :   find all paths that have the word
  679.                                         "on" in them.
  680.                         LCD *       :   show me all paths in the database.
  681.  
  682.  
  683.                           Led's Change Directory                    Page 12
  684.  
  685.  
  686. Revision History
  687.  
  688.  
  689.                  o   A few people wanted to be able to change to either
  690.                      (a) the parent directory, or (b) the root directory
  691.                      while still using LCD.  LCD will now allow this,
  692.                      so you can do:
  693.  
  694.                          LCD ..              ;go up one level
  695.                          LCD \               ;go to the root.
  696.  
  697.  v1.2  10/11/90   o  A lot of people (in fact, everyone who has contacted
  698.                      me) have suggested that LCD should give the highest
  699.                      priority to the first positions of the pathname
  700.                      specified.  In other words, if you have the following
  701.                      two paths on your hard drive:
  702.  
  703.                               c:\testing\programs
  704.                               c:\atest\data
  705.  
  706.                      then "LCD TEST" should change to the \testing\
  707.                      directory immediately.   v1.2 now does this.
  708.  
  709.                   o Overall, the matching logic in v1.2 has been greatly
  710.                     improved.  It now does a much better job of figuring
  711.                     out what you really wanted it to do.  But, it will
  712.                     probably help if you know exactly how LCD does it's
  713.                     searching.  In a nutshell, here is what LCD does:
  714.  
  715.                         1.  Look for an EXACT match on the directory name
  716.                             specified.  If more than one found, display
  717.                             the dialog box. If none found, go to step 2.
  718.  
  719.                         2.  Look for a "fuzzy" match on the name. By LCD's
  720.                             standards, a fuzzy match is the name you
  721.                             specified followed by any extra data.  For
  722.                             example, if you specify "LCD data", then all
  723.                             of the following would match:
  724.  
  725.                                 c:\data1
  726.                                 c:\database
  727.                                 f:\dataset
  728.  
  729.                             If more than one match found, display the
  730.                             dialog box. If none found, go to step 3.
  731.  
  732.                         3.  At this point, LCD just looks for the partial
  733.                             string anywhere in a path name, preceeded or
  734.                             followed by any characters.
  735.  
  736.                   o Since so very few people use extensions on their
  737.                     directory names, I changed the logic to once again
  738.                     use "*." for directory searches instead of "*.*".
  739.                     This speeds the /SCAN function up by about 50%.  If
  740.                     you have directory names with extensions on them,
  741.  
  742.                           Led's Change Directory                    Page 13
  743.  
  744.  
  745. Revision History
  746.  
  747.  
  748.                     then you must use the /ESCAN switch instead of /SCAN.
  749.                     Operation is the same, except that LCD will then use
  750.                     the slower scanning method.
  751.  
  752.  v1.1  10/04/90   o Since the .IDX file is stored a little differently,
  753.                     you MUST do a /SCAN before using LCD v1.1 (this is
  754.                     for those of you currently using v1.0).
  755.  
  756.                   o LCD is now much smarter on "fuzzy" directory names.
  757.                     For example, "lcd pcp" will now change you to your
  758.                     "d:\pcplus" directory always, even if you have
  759.                     "pcplus\downloads" and "pcplus\uploads", etc.
  760.  
  761.                   o When LCD can't figure out which directory you really
  762.                     want, it will now pop up a scrollable dialog box with
  763.                     all of the matches found in it.  You simply move the
  764.                     highlight bar to the directory that you want, and then
  765.                     press <Enter>.
  766.  
  767.                     A lot of people requested something like this, and I
  768.                     wasn't sure how I was going to like it at first.  But,
  769.                     after playing with it for a couple of days, I think it
  770.                     was a good idea.  It's much more logical than LCD trying
  771.                     to "cycle" through all of the matches one invocation at
  772.                     a time.
  773.  
  774.                   o A few people also complained about LCD not seeing
  775.                     directories that have an extension on them
  776.                     (ie: MYDATA.DIR).  I still can't sneak by anybody on
  777.                     this issue!  So, LCD v1.1 now sees directories with
  778.                     extensions;  you will notice that the /SCAN function
  779.                     takes around twice as long to run now.
  780.  
  781. End of document.
  782.  
  783.